package com.fz.us.admin.dict.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;

/**
 * Dto - 字典 item
 * ============================================================================
 * 版权所有 2016 。
 *
 * @author fallenpanda
 * @version 1.0 2016-07-28 。
 * ============================================================================
 */
public class DictItemDto implements Serializable {

    private static final long serialVersionUID = 8985276068148701318L;

    /**
     * 系统字典Id
     * (Dict)
     */
    public String dictId;

    /**
     * 字典项
     * (DictItem)
     */
    public String id;
    public int ifSystem;
    public String keyId;
    public String name;
    public String pinYinHead;
    public String pinYin;
    public String value;
    public String description;
    public int ifKey;
    public int ifSelectable;
    public int sortNo;
    public String state;

    public String parentId;

    /**
     * 自定义名称
     * (DictItemSetting)
     */
    public String sId;
    public String sName;
    public String sPinYinHead;
    public String sPinYin;
    public String sState;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

}
